import Layout from '@/layout'
import { getToken } from '@/utils/auth'
import store from '@/store'
/**
 * 系统管理相关路由
 */

// const userType = store.getters.userType
var systemRouter = {}
// console.log(userType)
// systemRouter = {
//   path: '/athletes',
//   component: Layout,
//   redirect: '/athletes/index',
//   name: 'Athletes',
//   meta: {
//     title: 'Athletes',
//     icon: 'athletes'
//   },
//   children: [
//     { path: '/athletes/index', component: () => import('@/views/athletes/index'), name: 'tinymce-demo', meta: { title: 'Athletes', breadcrumb: false } },
//     { path: '/athletes/generalInformation', component: () => import('@/views/athletes/generalInformation'), name: 'generalInformation', meta: { title: 'Details' }, hidden: true },
//     // { path: '/athletes/edit', component: () => import('@/views/home/edit'), name: 'markdown-demo', meta: { title: 'Add', breadcrumb: false}, hidden: true }
//   ]
// }
// if (userType === 'ATHLETE') {
//
// }
// if (userType === 'DOCTOR') {
//
// }
// if (userType === 'COACH') {
//
// }
//
// if (userType === 'ADMIN') {
//
// }

export default systemRouter
